<div class="my-account form-container">
	<div class="col-left sidebar">
		<div class="block block-account">
			<div class="block-title">
				<strong>
					<span><?=lang('my_account')?></span>
				</strong>
			</div>
			<div class="block-content">
				<ul>
					<li >
						<a href="<?=site_url('user/dashboard')?>">
						<?=lang('my_dashbord')?>
						</a>	
					</li>
					<li class="current">
						<strong>
							<?=lang('account_info')?>
						</strong>
					</li>
					<li>
						<a href="<?=site_url('user/my_address/')?>">
							<?=lang('my_address')?>
						</a>
					</li>
					<li >
						<a href="<?=site_url('user/address_book')?>">
						<?=lang('address_book')?>
						</a>	
					</li>
					<li>
						<a href="<?=site_url('user/my_orders/')?>">
							<?=lang('my_orders')?>
						</a>
					</li>
					<li >
						<a href="<?=site_url('user/newsLetter')?>">
						<?=lang('newsletter')?>
						</a>	
					</li>
					<li class="last">
						<a href="<?=site_url('user/logout/')?>">
							<?=lang('logout')?>
						</a>
					</li>
				</ul>
			</div>
		</div>
	</div>
	<div class="col-main">
		<?php print form_open('user/my_account/',array('id'=>'myaccountFrm'));?>
			<h1>
				<?=lang('account_info')?>
			</h1>
			<div class="formErrors">
				<?php echo validation_errors(); ?>
			</div>
			<h2 class="legend"><?=lang('personal_information')?></h2>
			<ul class="form-list">
				<li>
					<div class="fields">
						<p><label for="first_name"><?=lang('first_name')?><span class="required">*</span></label></p>
						<input id="first_name" name="first_name" class="input-field" value="<?=$user->first_name?>" />
					</div>
					<div class="fields">
						<p><label for="last_name"><?=lang('last_name')?><span class="required">*</span></label></p>
						<input id="last_name" name="last_name" class="input-field" value="<?=$user->last_name?>" />
					</div>        		
				</li>
				<li>
					<div class="fields">
						<p><label for="email"><?=lang('email')?><span class="required">*</span></label></p>
						<input id="email" name="email" class="input-field" value="<?=$user->user_email?>" />        
					</div>	
				</li>
			</ul>
			<h2 class="legend"><?=lang('login_information')?></h2>
			<ul class="form-list">
				<li>
					<div class="fields">
						<p><label for="current_pass"><?=lang('current_pass')?></label></p>
						<input type="password" id="current_pass" name="current_pass" class="input-field" value="" autocomplete="off"/>   
					</div>     	
				</li>			
				<li class="passwords">
					<div class="fields">
						<p><label for="password"><?=lang('password')?><span class="required hidden">*</span></label></p>
						<input type="password" id="password" name="password" class="input-field" value="" autocomplete="off"/>
					</div>
					<div class="fields">
						<p><label for="repassword"><?=lang('repassword')?><span class="required hidden">*</span></label></p>
						<input type="password" id="repassword" name="repassword" class="input-field" value="" autocomplete="off"/>
					</div>        		
				</li>
			</ul>
			<div class="clear"></div>
			<div class="button" id="btn-save">
				<?=lang('save')?>
			 </div>			
		<?php print form_close()?>
	</div>	
	<div class="clear"></div>
</div>